// PlgThread.cpp : implementation file
//

#include "stdafx.h"
#include "Abc.h"
#include "PlgThread.h"


// CPlgThread

IMPLEMENT_DYNCREATE(CPlgThread, CWinThread)

CPlgThread::CPlgThread()
{
}

CPlgThread::~CPlgThread()
{
}

BOOL CPlgThread::InitInstance()
{
	// TODO:  perform and per-thread initialization here
	::AFX_MANAGE_STATE(::AfxGetStaticModuleState());
	m_PlgDialog=new CPlgDialog;
	m_PlgDialog->Create(IDD_TESTDIALOG);
	m_PlgDialog->ShowWindow(SW_SHOW);
	m_PlgDialog->UpdateWindow();
	return TRUE;
}

int CPlgThread::ExitInstance()
{
	// TODO:  perform any per-thread cleanup here
	return CWinThread::ExitInstance();
}

BEGIN_MESSAGE_MAP(CPlgThread, CWinThread)
END_MESSAGE_MAP()


// CPlgThread message handlers
